package com.linkage.usercenter.service;

import com.github.pagehelper.PageInfo;
import com.linkage.common.base.RequestInfo;
import com.linkage.usercenter.pojo.entity.Banner;
import com.linkage.usercenter.pojo.vo.BannerVo;

import java.util.List;

public interface IBannerService {
    List<Banner> getList();
    boolean insertBanner(Banner banner);
    Banner getBannerInfo(String id);
    boolean updateBanner(Banner banner);
    PageInfo<Banner> getBannerListByPage(RequestInfo<BannerVo> requestInfo);
    void deleteBanner(String id);
}
